#ifndef GLOBAL_H
#define GLOBAL_H

enum {VALID_MOVE = 1, CASTLE, COLOR_DECIDED, COLOR_DECIDED_ACK, MESSAGE};
enum {PAWN, ROOK, KNIGHT, BISHOP, QUEEN, KING};
enum {WHITE = 1, BLACK};

struct Coord {
  int x;
  int y;
  Coord (int _x, int _y) {
    x = _x;
    y = _y;
  }
};

#endif // GLOBAL_H
